package com.openroom.ui.component;

import java.net.URL;

import org.apache.pivot.collections.Map;
import org.apache.pivot.util.Resources;
import org.apache.pivot.wtk.BoxPane;
import org.apache.pivot.wtk.Cursor;

import com.openroom.ui.FocusableImageView;

public class SmallThumbnailView extends ThumbnailView{

    public void initialize(Map<String, Object> namespace, URL arg1,
            Resources arg2) {
        setCursor(Cursor.HAND);
        final BoxPane box = (BoxPane) namespace.get("box");
        imageView = (FocusableImageView) namespace.get("tnail");
        imageView.setCursor(Cursor.HAND);
        addListeners(box);
    }
}
